package kuzmenkov.oip.model.dao.hibernate;

import kuzmenkov.oip.model.Module;

import java.util.List;

import org.springframework.dao.DataAccessException;

/**
 * Interface describes accessing to the database table "module"
 * User: Michael Kuzmenkov
 * Date: 16.03.2009
 * Time: 3:47:52
 */
public interface ModuleDao extends GenericDao<Module, Long> {
    /**
     * Finds modules which belong to a given class
     * @param methodClassId
     * @return
     * @throws DataAccessException
     */
    List<Module> findByMethodClass (Long methodClassId) throws DataAccessException ;

}